<?php
/**
 * logoutapp page
 * @package app-member_page
 */
load_page('/memberbase');
/**
 * logoutapp page
 * @author pandajingjing
 * @package app-member_page
 */
class logoutapppage extends memberbasepage{

	/**
	 * 获取UI
	 */
	function getView(){
		return 'logoutapp';
	}

	/**
	 * 获取页面标题
	 * @return string
	 */
	protected function getTitle(){
		return '退出';
	}

	/**
	 * 返回meta信息
	 * @see memberbasepage::getMeta()
	 * @return string
	 */
	protected function getMeta(){
		$strReturnURL=$this->getData('strReturnURL');
		return '<meta http-equiv="refresh" content="5; url='.$strReturnURL.'" />';
	}

	/**
	 * 获取当前页面用到的JS
	 * @return array 
	 */
	static function useCBscript(){
		return array_merge(parent::useCBscript(),array( 
				'/logoutapp.js' 
		));
	}

	/**
	 * 获取当前页面用到的JS
	 * @see sys_page::useSScript()
	 * @return array
	 */
	static function useSscript(){
		return array_merge(parent::useSScript(),array( 
				'/base.js' 
		));
	}
}